<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateTechnicalCompanyFinanceTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('technical_company_finance', function (Blueprint $table) {
            $table->increments('id');
            $table->unsignedInteger('company_id')->comment('专业施工队id');
            $table->unsignedDecimal('account',10,2)->comment('结款金额');
            $table->unsignedInteger('adminId')->comment('管理员id');
            $table->dateTime('createTime')->comment('借款时间');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
